[Chore] Upgrade Golang version to v1.25#4269
Conversation
| .PHONY: crd-ref-docs | ||
| crd-ref-docs: $(CRD_REF_DOCS) ## Download crd-ref-docs locally if necessary. | ||
| test -s $(CRD_REF_DOCS) || GOBIN=$(LOCALBIN) go install github.com/elastic/crd-ref-docs@v0.0.12 | ||
| test -s $(CRD_REF_DOCS) || GOBIN=$(LOCALBIN) go install github.com/elastic/crd-ref-docs@v0.2.0 |
There was a problem hiding this comment.
We also bump crd-ref-docs to v0.2.0 to resolve build failures resulted from dependency on golang.org/x/tools v0.19.0.
Related PRs
|
Hi @Future-Outlier, For now, KubeRay depends on Thanks!! |
make sense to me, I personally prefer to keep all dependencies and toolchain to the most latest stable version (maybe apart from rust toolchain) |
There is already a PR addressing this: #4007, we can wait for this PR to be merged before proceeding with the Go version upgrade. |
Future-Outlier
left a comment
There was a problem hiding this comment.
cc @win5923 @machichima to review this
experimental/Dockerfile
Outdated
| @@ -1,5 +1,5 @@ | |||
| # Build security proxy | |||
| FROM golang:1.24.0-bullseye AS builder | |||
| FROM golang:1.25.0-bookworm AS builder | |||
ray-operator/Dockerfile
Outdated
| @@ -1,5 +1,5 @@ | |||
| # Build the manager binary | |||
| FROM golang:1.24.0-bullseye AS builder | |||
| FROM golang:1.25.0-bookworm AS builder | |||
win5923
left a comment
There was a problem hiding this comment.
Hi @JiangJiaWei1103, could you help resolve the conflicts? The golang-lint-ci upgrade have already been merged.
Signed-off-by: JiangJiaWei1103 <waynechuang97@gmail.com>
Signed-off-by: JiangJiaWei1103 <waynechuang97@gmail.com>
Signed-off-by: JiangJiaWei1103 <waynechuang97@gmail.com>
Signed-off-by: JiangJiaWei1103 <waynechuang97@gmail.com>
5c2fc63 to
3be6c3b
Compare
Hi @win5923, I've rebase with the master branch, thanks! |
Signed-off-by: JiangJiaWei1103 <waynechuang97@gmail.com>
win5923
left a comment
There was a problem hiding this comment.
LGTM! I checked the CI error, and it is unrelated to this PR.
rayservice_ha_test.go:168: [2025-12-20T07:45:53Z] Waiting several seconds before updating RayService
rayservice_ha_test.go:171: [2025-12-20T07:46:23Z] Updating RayService
support.go:188: [2025-12-20T07:46:23Z] Waiting for RayService test-ns-r9tpp/test-rayservice UpgradeInProgress condition to be true
support.go:192: [2025-12-20T07:46:24Z] Waiting for RayService test-ns-r9tpp/test-rayservice to switch to a new cluster
support.go:193:
Timed out after 60.000s.
Expected
<string>: test-rayservice-nrlmm
not to equal
<string>: test-rayservice-nrlmm
|
Hi @JiangJiaWei1103, I think the conflicts may need to be resolved again. Thanks! |
d8dc92c to
47a32ce
Compare
…upgrade-golang-ver Signed-off-by: JiangJiaWei1103 <waynechuang97@gmail.com>
|
Hi @win5923, The conflicts are resolved! Regarding (Update) |
…upgrade-golang-ver Signed-off-by: JiangJiaWei1103 <waynechuang97@gmail.com>
Future-Outlier
left a comment
There was a problem hiding this comment.
LGTM, I tried to build historyserver's collector (it's not in CI now, and it works for me!)
cc @rueian to merge, thank you!
Why are these changes needed?
Go v1.25 has been released since Aug while KubeRay still uses v1.24.
Changes
go mod tidyto add missing modules and remove unused onesNote that Go v1.25 images use newer Debian base variants like Bookworm, so we choose
golang:1.25.0-bookwormas the builder.Related issue number
Closes #4263.
Checks